import request from "@/utils/request";

export function listMenus(queryParams) {
  return request({
    url: "/api/v1/menus",
    method: "get",
    params: queryParams,
  });
}
export function addUser(data) {
  return request({
    url: "/api/v1/users",
    method: "post",
    data: data,
  });
}
